import type { RouteRecordRaw } from 'vue-router';
import RouterView from '@/layout/routerView/index.vue';
import { t } from '@/hooks/useI18n';
import menu from '@/assets/menuIcon/menu9.png';

const moduleName = 'supplier';

const routes: Array<RouteRecordRaw> = [
  {
    path: '/supplier',
    name: moduleName,
    component: () =>
      import(/* webpackChunkName: "dashboard-welcome" */ '@/views/supplier/supplier/index.vue'),
    meta: {
      title: '培训管理',
      icon: menu,
    },
  },
];

export default routes;
